package com.xhga.common;

/**
 * Created by Hua wb on 2018/11/29.
 */
public class RpcResponse {

    private String requestId;

    private boolean success;

    private Object result;

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "RpcResponse{" +
                "requestId='" + requestId + '\'' +
                ", success=" + success +
                ", result=" + result +
                '}';
    }
}
